package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 user_info
 * 
 * @author gcl
 * @date 2021-05-06
 */
public class Userinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户 */
    private String Id;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String name;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private Integer gender;

    /** 用户手机 */
    @Excel(name = "用户手机")
    private String telphone;

    public void setId(String Id) 
    {
        this.Id = Id;
    }

    public String getId() 
    {
        return Id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setTelphone(String telphone) 
    {
        this.telphone = telphone;
    }

    public String getTelphone() 
    {
        return telphone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("telphone", getTelphone())
            .toString();
    }
}
